﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DTO;
using DAO;
namespace BUS
{
    public class KhachHangBUS
    {
        KhachHangDAO dao = new KhachHangDAO();
        
        public int ThemKhachHang(string tenkh, int maloaikh, string cmnd, string diachi)
        {
            return dao.ThemKhachHang(tenkh, maloaikh, cmnd, diachi);
        }
        public int Update(KhachHangDTO dto)
        {
            return dao.UpdateKH(dto);
        }

    }
}
